/**
 * Copyright &copy; 2012-2016 <a href="https://github.com/thinkgem/jeesite">JeeSite</a> All rights reserved.
 */
package com.thinkgem.jeesite.modules.config.entity.ali;

import org.hibernate.validator.constraints.Length;

import com.thinkgem.jeesite.common.persistence.DataEntity;

/**
 * 支付宝基本信息Entity
 * @author Egan
 * @version 2017-02-28
 */
public class ConfigAlipay extends DataEntity<ConfigAlipay> {
	
	private static final long serialVersionUID = 1L;
	private String appId;		// app_id
	private String privateKey;		// private_key
	private String publicKey;		// public_key
	private String partner;		// partner
	private String sellerId;		// seller_id
	private String sellerEmail;		// seller_email
	private String key2;		// key
	private String redictUrl;		// redict_url
	private String notifyUrl;		// notify_url
	private String notifyUrlRefund;		// notify_url_refund
	private String returnUrl;		// return_url
	private String signType;		// sign_type
	private String logPath;		// log_path
	private String inputCharset;		// input_charset
	private String paymentType;		// payment_type
	private String service;		// service
	private String serviceMobile;		// service_mobile
	private String antiPhishingKey;		// anti_phishing_key
	private String exterInvokeIp;		// exter_invoke_ip
	
	public ConfigAlipay() {
		super();
	}

	public ConfigAlipay(String id){
		super(id);
	}

	@Length(min=0, max=64, message="app_id长度必须介于 0 和 64 之间")
	public String getAppId() {
		return appId;
	}

	public void setAppId(String appId) {
		this.appId = appId;
	}
	
	public String getPrivateKey() {
		return privateKey;
	}

	public void setPrivateKey(String privateKey) {
		this.privateKey = privateKey;
	}
	
	public String getPublicKey() {
		return publicKey;
	}

	public void setPublicKey(String publicKey) {
		this.publicKey = publicKey;
	}
	
	public String getKey2() {
		return key2;
	}

	public void setKey2(String key2) {
		this.key2 = key2;
	}

	@Length(min=0, max=64, message="partner长度必须介于 0 和 64 之间")
	public String getPartner() {
		return partner;
	}

	public void setPartner(String partner) {
		this.partner = partner;
	}
	
	@Length(min=0, max=64, message="seller_id长度必须介于 0 和 64 之间")
	public String getSellerId() {
		return sellerId;
	}

	public void setSellerId(String sellerId) {
		this.sellerId = sellerId;
	}
	
	@Length(min=0, max=64, message="seller_email长度必须介于 0 和 64 之间")
	public String getSellerEmail() {
		return sellerEmail;
	}

	public void setSellerEmail(String sellerEmail) {
		this.sellerEmail = sellerEmail;
	}
	
	
	@Length(min=0, max=3000, message="redict_url长度必须介于 0 和 3000 之间")
	public String getRedictUrl() {
		return redictUrl;
	}

	public void setRedictUrl(String redictUrl) {
		this.redictUrl = redictUrl;
	}
	
	@Length(min=0, max=3000, message="notify_url长度必须介于 0 和 3000 之间")
	public String getNotifyUrl() {
		return notifyUrl;
	}

	public void setNotifyUrl(String notifyUrl) {
		this.notifyUrl = notifyUrl;
	}
	
	@Length(min=0, max=3000, message="notify_url_refund长度必须介于 0 和 3000 之间")
	public String getNotifyUrlRefund() {
		return notifyUrlRefund;
	}

	public void setNotifyUrlRefund(String notifyUrlRefund) {
		this.notifyUrlRefund = notifyUrlRefund;
	}
	
	@Length(min=0, max=3000, message="return_url长度必须介于 0 和 3000 之间")
	public String getReturnUrl() {
		return returnUrl;
	}

	public void setReturnUrl(String returnUrl) {
		this.returnUrl = returnUrl;
	}
	
	@Length(min=0, max=64, message="sign_type长度必须介于 0 和 64 之间")
	public String getSignType() {
		return signType;
	}

	public void setSignType(String signType) {
		this.signType = signType;
	}
	
	@Length(min=0, max=128, message="log_path长度必须介于 0 和 128 之间")
	public String getLogPath() {
		return logPath;
	}

	public void setLogPath(String logPath) {
		this.logPath = logPath;
	}
	
	@Length(min=0, max=128, message="input_charset长度必须介于 0 和 128 之间")
	public String getInputCharset() {
		return inputCharset;
	}

	public void setInputCharset(String inputCharset) {
		this.inputCharset = inputCharset;
	}
	
	@Length(min=0, max=2, message="payment_type长度必须介于 0 和 2 之间")
	public String getPaymentType() {
		return paymentType;
	}

	public void setPaymentType(String paymentType) {
		this.paymentType = paymentType;
	}
	
	@Length(min=0, max=64, message="service长度必须介于 0 和 64 之间")
	public String getService() {
		return service;
	}

	public void setService(String service) {
		this.service = service;
	}
	
	@Length(min=0, max=64, message="service_mobile长度必须介于 0 和 64 之间")
	public String getServiceMobile() {
		return serviceMobile;
	}

	public void setServiceMobile(String serviceMobile) {
		this.serviceMobile = serviceMobile;
	}
	
	@Length(min=0, max=64, message="anti_phishing_key长度必须介于 0 和 64 之间")
	public String getAntiPhishingKey() {
		return antiPhishingKey;
	}

	public void setAntiPhishingKey(String antiPhishingKey) {
		this.antiPhishingKey = antiPhishingKey;
	}
	
	@Length(min=0, max=64, message="exter_invoke_ip长度必须介于 0 和 64 之间")
	public String getExterInvokeIp() {
		return exterInvokeIp;
	}

	public void setExterInvokeIp(String exterInvokeIp) {
		this.exterInvokeIp = exterInvokeIp;
	}
	
}